Skip to main content

googleGetSignInPhotoURL

Type​

handler

Summary​

Get the URL of the profile picture of the authenticated user

Syntax​

googleGetSignInPhotoURL()

Description​

Use the googleGetSignInPhotoURL to obtain the URL of the profile picture of the authenticated user. If no user is authenticated then a 'Not authenticated' error is thrown. if the user has no profile picture defined on their Google profile then an empty string is returned.

Examples​

set the filename of image "avatar" to googleGetSignInPhotoURL()

Value​

NameTypeDescription

return

The googleGetSignInPhotoURL handler returns the URL to the profile picture of the authenticated user.

handler: googleSignIn

Compatibility and Support​

OS

android